﻿using wojilu.Web.Context;
using wojilu.Web.Mvc;

namespace wojilu.Web.Controller.Caching
{
    public class ContentIndexCache : ActionCache
    {
        public override string GetCacheKey(MvcContext ctx, string actionName)
        {
            return typeof(wojilu.Web.Controller.YBBSiteInitController).FullName + "_" + actionName;
        }

        public override void ObserveActions()
        {

        }

        public override void AfterAction(MvcContext ctx)
        {
            //CacheManager.GetApplicationCache().Remove(getCacheKey(owner, ctx.app.Id));
        }

    }
}
